<?

require_once "util.php";
require_once "lang.php";


$repoName = "SVN Repository";
$svnURL = "http://localhost/svn/";
$svnUsername = "nsvn";
$svnPassword = "temporal";






/* maybe you don't need to change any of this */
#$repoName = ($_SERVER['PHP_AUTH_USER']) ? $_SERVER['PHP_AUTH_USER'].'@'.$repoName : $repoName ;
$path = dirname($_SERVER['SCRIPT_NAME']);
$svnVersion = shellCommand("svn --version | head -n 1");
$svnVersion = trim( $svnVersion[0] );
$svnAuth = " --username {$svnUsername} --password {$svnPassword} ";


$pos = strpos($_SERVER['REQUEST_URI'],$path);
$filePath = substr($_SERVER['REQUEST_URI'],$pos+(strlen($path)));


define('NICE_SVN_VERSION','0.1');



